line_width = 90
str = 'Table of contents'
puts str.center(line_width)
puts ''
word_1 = '* Chapter 1 :'
word_2 = 'Getting Started'
word_3 = 'page  1'
puts (word_1.rjust(line_width/4) + word_2.rjust(line_width/4.5) + word_3.rjust(line_width/3) )
word_4 = '* Chapter 2 :' 
word_5 = 'Numbers        '
word_6 = 'page  9'
puts (word_4.rjust(line_width/4) + word_5.rjust(line_width/4.5) + word_6.rjust(line_width/3) )
word_7 = '* Chapter 3 :'
word_8 = 'Letters        '
word_9 = 'page 13'
puts (word_7.rjust(line_width/4) + word_8.rjust(line_width/4.5) + word_9.rjust(line_width/3) )